{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    <form class="mb-20" method="get" action="{:\\think\\Url::build($Request.action)}">
    	<input type="text" class="input-text" style="width:250px" placeholder="ID" name="id" value="{$Request.param.id}">
    	<input type="text" class="input-text" style="width:250px" placeholder="产品名称" name="pro_recom_name" value="{$Request.param.pro_recom_name}">
    	<!--<input type="text" class="input-text" style="width:250px" placeholder="类型ID" name="typeid" value="{$Request.param.typeid}">-->
        <button type="submit" class="btn btn-success"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
    </form>
    <div class="cl pd-5 bg-1 bk-gray">
        <span class="l">
            <!--{tp:menu menu="add" /}-->
            <!--<a href="add">添加</a>-->
         <a class="btn btn-primary radius" href="javascript:;" onclick="layer_open('添加','{:\\think\\Url::build(\'add\')}')"><i class="Hui-iconfont">&#xe600;</i> 添加</a>
        </span>
        <span class="r pt-5 pr-5">
            共有数据 ：<strong>{$count}</strong> 条
        </span>
    </div>
    <table class="table table-border table-bordered table-hover table-bg mt-20">
        <thead>
        <tr class="text-c">
            <th width="80">ID</th>
            <th width="80">产品名称</th>
             <!--<th width="80">产品信息</th>-->
             
            <th width="80">产品优点1</th>
            <th width="80">产品优点2</th>
            
            <th width="80">产品优点3</th>          
            <th width="80">产品优点4</th>
            <th width="80">产品链接</th>
            <th width="80">图片尺寸</th>
            <th width="80">操作</th> 
        </tr>
        </thead>

        <tbody>
        {volist name="list" id="vo"}
        <tr class="text-c">
            <td>{$vo.id}</td>
            <td>{$vo.pro_recom_name}</td>
            <!--<td>{$vo.pro_recom_info}</td>-->
            
            <td>{$vo.recom_character1}</td>
            <td>{$vo.recom_character2}</td>
            
            <td>{$vo.recom_character3}</td>
            <td>{$vo.recom_character4}</td>
            <td>{$vo.pro_recom_url}</td>
            
            <td>( 200px ) * ( 440px )</td> 
            <td>{tp:menu menu='sedit,sdelete' /}
            </td> 
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="page-bootstrap">{$page}</div>
</div>
{/block}